/* header*/

/* header*/
header {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: white;
}

/*
 banner 
*/
.banner {
  flex-grow: 1;
  display: flex;
  position: relative;
  align-items: flex-end;
  background-image: url(../images/index-banner-bac.png);
  background-color: #01a9c0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* banner_bottom */
.banner_bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.banner_bottom h4 {
  margin: 1rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
  font-weight: lighter;
  font-family: sans-serif;
  color: white;
  border-bottom: 1px solid white;
}

.banner_bottom h4:nth-child(1) {
  border-left: 1px solid white;
}

.banner_bottom h4:nth-child(2) {
  border-right: 1px solid white;
}




/* TITLE */
h1 {
  font-family: lhandw;
  margin-bottom: -.3rem;
  letter-spacing: 0.1rem;
  color: white;
}

.title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.title_att {
  margin: 0;
  padding: 0;
  color: white;
  font-family: LESLIEB;
}



/* 
container
*/

.add_articles{
  display: flex;
  width: 80%;
  min-height: 15rem ;
  margin: 5vw auto;
  box-shadow: 0 0 1px 0 black;
}
.add_articles:nth-child(2){
  flex-direction: row-reverse;
}
.add_ba{
  width: 53.5vw;
  background-size:100%;
  background-repeat: no-repeat;
}
.add_articles:nth-child(1)  .add_ba{
  background-image: url(../images/add_article/2.jpeg);
}
.add_articles:nth-child(2)  .add_ba{
  background-image: url(../images/add_article/3.jpeg);
  background-position: center;
}
.add_articles:nth-child(3)  .add_ba{
  background-image: url(../images/add_article/1.jpg);
  background-position: center;
}
.add_p{
  width: 26.5vw ;
  box-sizing: border-box;
  padding: 1rem;
}
.add_p p{
  /* text-indent: 2rem; */
  color: rgba(0, 0, 0, 0.8);
}
h3{
  font-family: sans-serif;
}


/* 
img_box
*/
.headline {
  display: flex;
  justify-content: center;
}

.headline>a {
  min-width: 6rem;
  margin: 2rem 1rem;
  padding: 0.5rem;
  border: 0.1rem solid #0294b4;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
}

.headline>a:hover {
  background-color: #0294b4;
  color: white;
}

.img_box {
  margin-bottom: 6rem;
}

/* 
_img
*/
.img {
  display: flex;
  align-items: flex-end;
  width: 30vw;
  height: 20vw;
  background-size: cover;
  box-shadow: 0 0 0.5rem 0.1rem rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

@media(min-width:30rem) {
  .img {
    width: 25vw;
    height: 15vw;
  }
}

.img_att {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  background-color: rgba(0, 0, 0, 0.425);
  transform: translate(0, 50%);
  transition: transform 0.25s;
}

.img_att a {
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid #f8f2ab;
  color: #f8f2ab;
  transition: color 0.1s, box-shadow 0.1s;
}

.img_att p {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
  color: gainsboro;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.img_att a:hover {
  box-shadow: 0 0 1rem 0 white;
  color: #d5fc96;
}

.img:hover .img_att {
  transform: translate(0, 0%);
}

/* 
fashion_img
*/
.img_container {
  width: 80%;
  margin: 0 auto;
}

@media(min-width:30rem) {
  .img_container {
    width: 60%;
  }
}

.fashion_img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-row-gap: 3rem;
  grid-column-gap: 2rem;
  justify-items: center;
}


/* 
  return_top
  */
  .return_top {
    display: none;
    position: fixed;
    padding: 0.5rem;
    right: 3vw;
    bottom: 20vh;
    border-radius: 0 0 50% 0;
    border: 1px solid black;
    cursor: pointer;
    background-color: black;
    color: white;
    transition: border-radius 0.25s, box-shadow 0.25s,
      color 0.25s;
  }
  
  .return_top:hover {
    border-radius: 0;
    box-shadow: 0 0 1rem 1rem white inset;
    color: black;
  }